Repository navigation
docs: make hooks first and define where CI runs - #9
Merged
Merged
Conversation
## What Publishes core C5.7 "Hooks first, CI confirms" and C5.8 "Where CI runs", and clarifies C5.6 that a self-hosted Linux runner counts as a Linux runner. `standards/core.md` stays byte-identical across the five owner `.github` repositories. Extends `scripts/fleet-audit.ts` with the two rules, still read-only: - C5.7 lists the repository's required pull-request contexts (ruleset required checks for a public repository, the pull-request checks workflow's jobs for a private one) and reports a context that is not a hook recipe (`fmt`, `fmt-check`, `lint`, `typecheck`, `test`, `secrets`, `privacy`, `hooks`) unless `standards/owner.md` names it under `## CI-only required checks`. - C5.8 reports an organization's private repository that runs on GitHub-hosted runners, excepted by a C5.8 row in `docs/exceptions.md`, and a public repository that runs on a self-hosted runner, never excepted. A personal account's private repositories are not flagged. Adds the `## CI-only required checks` section to `standards/owner.md`, empty here. The audit now reports the single `check` context as a C5.7 gap until it is split into the hook recipes. ## Verification - `just check` - `just fleet-audit --owner deathpie`
deathpie
added a commit
that referenced
this pull request
Nov 24, 2026
## What Follow-up to #9. `scripts/fleet-audit.ts` read `standards/owner.md` from the local checkout, so a full-fleet run from one clone applied that clone's owner standard to every owner. C5.7 now fetches `standards/owner.md` from the audited owner's `.github` repository, once per owner and cached, so each owner's `## CI-only required checks` section applies when `just fleet-audit` runs from a single clone. Read-only as before; no other behaviour changes, and the file stays byte-identical across the five owner `.github` repositories. ## Verification - `just check` - `just fleet-audit --owner simpsonm09-projects` from the `deathpie` clone - `just fleet-audit --owner deathpie`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Publishes the updated shared core standard and extends the fleet audit for it.
standards/core.mdis copied verbatim from the shared source. It adds C5.7"Hooks first, CI confirms" and C5.8 "Where CI runs", and clarifies C5.6 that a
self-hosted Linux runner counts as a Linux runner. The file stays byte-identical
across the five owner
.githubrepositories.scripts/fleet-audit.tsgains C5.7 and C5.8 and stays read-only; every existingcheck and its output is unchanged. C5.7 reads the required pull-request contexts
(ruleset required checks for a public repository, the pull-request checks
workflow's jobs for a private one) and reports a context that is not a hook
recipe (
fmt/fmt-check,lint,typecheck,test,secrets/privacy,hooks) unlessstandards/owner.mdnames it under## CI-only required checks.C5.8 reports an organization's private repository on GitHub-hosted runners
(excepted by a C5.8 row in
docs/exceptions.md) and a public repository on aself-hosted runner (never excepted); a personal account's private repositories
are not flagged.
standards/owner.mdgains## CI-only required checks, empty (None.) here.Findings the new audit reports
just fleet-audit --owner deathpiereports the singlecheckcontext asC5.7 required check check is not a hook recipein.github,nsfw-model-testing,sd-card-toolsandwow-forever-settings. That is the drift C5.7 names; splittingcheckinto the hook-recipe jobs is follow-up work. There is no C5.8 finding: apersonal account's private repositories use GitHub-hosted runners.
Verification
just checkjust fleet-audit --owner deathpie